home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 44
/
Amiga Format CD44 (1999-08-26)(Future Publishing)(GB)(Track 1 of 3)[!][issue 1999-10].iso
/
-serious-
/
wb
/
merlin
/
rexx
/
test1.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1999-07-12
|
841b
|
42 lines
/* RUN "rx MCP:rexx/CelsiusToFahrenheit.rexx %n" */
Arg node_number /* node we were run from */
Host = 'MCPREXX.'node_number /* the Trion MCP Arexx port */
Options results
Address value host
options failat 15
/* say "node: "node_number */
if node_number = "" then do
say "error .. rexx script not started with %n on command line"
exit 1
end
ReadState "ID 3"
State3 = result
say "State:" State3
ReadState "ID 4"
State4 = result
say "State:" State4
ChangeState "4" State3
ChangeState "3" State4
/* WriteString "1" test */ /* Buttons need a little work */
WriteString "5" test
/* Note the Underscores replacing spaces !! */
AddToList "6 STRING list_tst RUN test_tst"
exit 0 /* einde programma */
test: /* een functie: 'call test' */
return 0